package com.apexsoft.assets.base.response;


import com.apexsoft.assets.base.model.AuthUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * Created by Administrator on 2018/2/23.
 */
@ApiModel(description = "认证响应报文")
public class AuthResponse extends JSONResponse {

    @ApiModelProperty(position = 2, notes = "接入token")
    private String accessToken;
    @ApiModelProperty(position = 3, notes = "AuthCenter的票据")
    private String acTicket;
    private AuthUser authUser;

    public AuthResponse() {
    }

    public AuthResponse(int code, String note, AuthUser authUser) {
        super(code, note);
        this.authUser = authUser;
    }
    public AuthUser getAuthUser() {
        return authUser;
    }

    public void setAuthUser(AuthUser authUser) {
        this.authUser = authUser;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getAcTicket() {
        return acTicket;
    }

    public void setAcTicket(String acTicket) {
        this.acTicket = acTicket;
    }
}

